import { defineComponent, openBlock, createElementBlock } from "vue";
const _hoisted_1 = ["x", "y", "width", "height", "fill", "stroke"];
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "Rectangle",
  props: {
    points: null,
    fill: null,
    stroke: null
  },
  setup(__props) {
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock("rect", {
        x: __props.points[0].x,
        y: __props.points[0].y,
        rx: "5",
        ry: "5",
        width: __props.points[2].x - __props.points[0].x,
        height: __props.points[4].y - __props.points[2].y,
        fill: __props.fill || "#ffffff",
        stroke: __props.stroke || "#000000"
      }, null, 8, _hoisted_1);
    };
  }
});
export { _sfc_main as default };
